-- JSON module extracted from ITU-T Y.4473 (08/2020)

//Example 37 - Example of a request for creating Observation entities in dataArray //POST /v1.0/CreateObservations HTTP/1.1 //Host: example.org/ //Content-Type: application/json [ { "Datastream": { "@iot.id": 1 }, "components": [ "phenomenonTime", "result", "FeatureOfInterest/id" ], "dataArray@iot.count": 2, "dataArray": [ [ "2010-12-23T10:20:00-0700", 20, 1 ], [ "2010-12-23T10:21:00-0700", 30, 1 ] ] }, { "Datastream": { "@iot.id": 2 }, "components": [ "phenomenonTime", "result", "FeatureOfInterest/id" ], "dataArray@iot.count": 2, "dataArray": [ [ "2010-12-23T10:20:00-0700", 65, 1 ], [ "2010-12-23T10:21:00-0700", 60, 1 ] ] } ]